<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %> 
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>处置方案</title>
<jsp:include page="../../import.jsp" flush="true" />
<jsp:include page="../assParking/assParkCommon.jsp" flush="true" /><!-- 超链接样式 -->
</head>
<body class="iframeBody">
	<div class="Wrapper">
		<div class="searchArea">
			<form id="flowForm">
				<div class="fieldset1 clearFix">
					<!-- 表单按钮 -->
					<div class="btnsBox formBtns notRight">
						&nbsp;&nbsp;&nbsp;&nbsp;
						<span id="dealBtn" class="sq-button-round disp_marg" onclick="dealBtn();">处置</span>
						<span id="optimalBtn" class="sq-button-round disp_marg" onclick="optimalBtn();">转优车</span>
						<br/><br/>
						&nbsp;&nbsp;&nbsp;&nbsp;
						<span id="redeemBtn" class="sq-button-round disp_marg" onclick="redeemBtn();">赎回</span>
						<span id="logisticsBtn" class="sq-button-round disp_marg Hide" onclick="logisticsBtn();">转物流</span>
		            </div>
	            </div>
			</form>
		</div>
	</div>
	
	<script type="text/javascript">
		//到处置申请页面
		function dealBtn(){
			var url = '<%=path%>/ass/assTrailCarM/toDealApplyPage.do';
			transferParam(url,"1");
		}
		
		//到转优车申请页面
		function optimalBtn(){
			var url = '<%=path%>/ass/assTrailCarM/toOptimalApplyPage.do';
			transferParam(url,"2");
		}
		
		//到赎回申请页面
		function redeemBtn(){
			var url = '<%=path%>/ass/assTrailCarM/toRedeemApplyPage.do';
			transferParam(url,"3");
		}
		
		//到转物流申请页面
		function logisticsBtn(){
			var url = '<%=path%>/ass/assTrailCarM/toLogisticsApplyPage.do';
			transferParam(url,"4");
		}
		
		//关闭对话框并传参
		function transferParam(_url,_flag){
			frameElement.dialog._DATA={url:_url, flag:_flag}; //给父窗口的dialog传参
			frameElement.dialog.close();
		}
	</script>
</body>
</html>